#pragma once

#include "pch.h"

class ScreenShot : public QWidget {
Q_OBJECT
public:
    explicit ScreenShot(QWidget *parent = nullptr);

    ~ScreenShot() override = default;

    void handleFullScreen();

    void handlePartScreen();

protected:
    /**
     * 向后推迟 msecs 毫秒
     *
     */
    static inline void postpone(int msecs);
private:

    QPushButton *full = new QPushButton(tr("全屏"), this);
    QPushButton *partial = new QPushButton(tr("局部"), this);
};
